const mongoose = require('mongoose')

module.exports = mongoose.model(
  'goods',
  new mongoose.Schema({
    id: String,
    price: Number,
    shoppId: Number,
    imgUrl: String,
    title: String,
    categoryId: Number,
    soldNum:Number,
    create_time: { type: Number, default: Date.now() }
  })
)
